﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using WcfServiceLibrary1;

namespace ConsoleApplication1 {
    class Program {
        static void Main(string[] args) {

            WcfServiceLibrary1.IMyService service = new WcfServiceLibrary1.MyService();
            ServiceHost sv = new ServiceHost(typeof(WcfServiceLibrary1.MyService));
            sv.Open();
            Console.WriteLine ("Servicio Corriendo");
            Console.ReadLine();
            sv.Close();
        
        }
    }
}
